package com.wwl.cms.utils.designModeTest.prototype;

import lombok.Data;

import java.io.Serializable;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/5 21:22
 * @description:
 */
@Data
public class Sheep implements Serializable, Cloneable {
    private static final long serialVersionUID =1L;
    private String name;
    private int age;
    private String color;
    private String address ="蒙古羊";

    public Sheep(String name, int age, String color) {
        this.name = name;
        this.age = age;
        this.color = color;
    }
    @Override
    protected Object clone()throws CloneNotSupportedException{
        return super.clone();

    }
}
